<template>
	<div class="popup z-fixed">
        <div class="bg"></div>
        <div class="unbindBox absolute">
            <div class="hilogo">
                <img src="../assets/img/promptlogo.png" alt="logo" style="margin-top: .28rem;margin-left: .39rem;width: .72rem;height: .94rem;">
            </div>
            <div class="unbind_controller center">
                <p style="font-size: .26rem;" v-text="title"></p>
                <p style="padding-top: .35rem;padding-bottom: .64rem;" v-html="childTitle"></p>
                <div class="flex-between" style="padding: 0 .33rem;">
                    <div class="btn_cancel" @click="cancelBox">取消</div>
                    <div class="btn_sure" @click="sureFun">确定</div>
                </div>
            </div>
        </div>
    </div>
</template>
<script>
    export default {
        data:function(){
			return{
				
			}
		},
        props:['title','childTitle'],
		mounted:function(){
			
		},
        methods:{
            cancelBox(){
                this.$emit('cancelBox');
            },
            sureFun(){
                this.$emit('sureFun');
            }
        }
    }
</script>
<style>
    /*解绑弹框*/
    .unbindBox{
        width: 4.66rem;
        height: 4.73rem;
        left: 50%;
        top: 50%;
        margin-left: -2.33rem;
        margin-top: -2.36rem;
    }
    .unbind_controller{
        background-color: #fff;
        width: 4.66rem;
        height: 2.58rem;
        border-radius: .3rem;
        margin-top: -.95rem;
        padding-top: 1.2rem;
    }
    .hilogo{
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        background-color: #000;
        border: .19rem solid #fff;
        z-index: 2;
        position: relative;
        margin: 0 auto;
    }
    .btn_cancel,.btn_sure{
       height: .66rem;
       line-height: .66rem;
       border: .02rem solid #000;
       width: 1.86rem;
    }
    .btn_cancel{
      background-color: #fff;
      color: #000;
    }
    .btn_sure{
      background-color: #000;
      color: #fff;
    }
</style>